﻿using System;

namespace UnityEngine.PostProcessing
{
	// Token: 0x0200011B RID: 283
	[Serializable]
	public abstract class PostProcessingModel
	{
		// Token: 0x170000F1 RID: 241
		// (get) Token: 0x06000541 RID: 1345 RVA: 0x00028D18 File Offset: 0x00026F18
		// (set) Token: 0x06000542 RID: 1346 RVA: 0x00028D20 File Offset: 0x00026F20
		public bool enabled
		{
			get
			{
				return this.m_Enabled;
			}
			set
			{
				this.m_Enabled = value;
				if (value)
				{
					this.OnValidate();
				}
			}
		}

		// Token: 0x06000543 RID: 1347
		public abstract void Reset();

		// Token: 0x06000544 RID: 1348 RVA: 0x00002973 File Offset: 0x00000B73
		public virtual void OnValidate()
		{
		}

		// Token: 0x04000753 RID: 1875
		[GetSet("enabled")]
		[SerializeField]
		private bool m_Enabled;
	}
}
